const mongoose = require('mongoose')
const Schema = mongoose.Schema

const CardNumberSchema = Schema({
    //卡号id
    id:{
        type:Number,
    },
    //卡号头部
    card_header:{
        type: String,
        required:true
    },
    //卡号类型
    card_type:{
        type:String,
        required: true
    },
    //归属
    affiliation:{
        type:String,
        required:true
    },
},{versionKey:false})

module.exports = mongoose.model('cardNumber',CardNumberSchema)
